//
//  PKPreferenceServices.swift
//  Panku
//
//  Created by mac on 2017/2/8.
//  Copyright © 2017年 Monster. All rights reserved.
//

import UIKit
import Foundation


private let IS_SHOWED_NEW_FEATURE_VIEW = "isShowedNewFeatureView"

class PKPreferenceServices: NSObject {
    
    //是否展示过了新特性界面
    class func isShowedNewFeatureView() -> Bool{
        
        if UserDefaults.standard.bool(forKey: IS_SHOWED_NEW_FEATURE_VIEW) == true{
            return true
        }
        
        UserDefaults.standard.set(true, forKey: IS_SHOWED_NEW_FEATURE_VIEW)
        return false
    }
    
}
